package gretha.panels;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class DialogFutur extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private JLabel label;

	public DialogFutur() {
		
		label = new JLabel("A marche bien !!");
		add(label);
		this.setTitle("Mofication");
		//taille
		this.setSize(600, 200);
		//taille minimum
		this.setMinimumSize(new Dimension(600,200));
		
		this.setResizable(true);
		//Ferme le programme quand on clique sur la croix
		this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		//au centre de l'écran
		this.setLocationRelativeTo(null);
		
		//Affichage de la fenetre
		this.setVisible(true);   
	}

}
